package com.wzl.common.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.management.relation.Role;
import java.io.Serializable;
import java.util.Date;

/**
 * @description: 用户实体类
 * @author: weizhongli
 * @create: 2022-08-27 19:02
 */
@Data
public class VkUserEntity implements Serializable {

    private Integer id; //id
    private String userCode; //用户编码
    private String userName; //用户名称
    private String userPassword; //用户密码
    private Integer gender;  //性别
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;  //出生日期
    private String phone;   //电话
    private String address; //地址
    private Integer userRole;    //用户角色
    private Integer createdBy;   //创建者
    private Role role;  //用户角色
    private int age;
    private String gendername;
}